import type { ProjectConfig } from '/@/types/config';

import { CacheTypeEnum } from '/@/enums/cacheEnum';
import { PermissionModeEnum } from '/@/enums/appEnum';

const setting: ProjectConfig = {
  // 与权限相关的缓存在loacl 还是 session 里面
  permissionCacheType: CacheTypeEnum.LOCAL,
  // 是否显示配置按钮
  showSettingButton: true,
  // 权限模式
  permissionMode: PermissionModeEnum.ROLE,
};

export default setting;
